package com.lzx.adx.report.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.Date;



@Data
@Document(collection = "t_report")
public class ReportDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "主键ID")
	@Id
	private Long id;

	@Indexed(background = true)
	private String dspId;

	private String eventType;


	private String traceTime;

	private String ip;

	private String oaid;

	private String campaignId;

	private String adgroupId;

	private String contentId;

	private String callback;

	private String requestId;

	private Date createTime;

	private String channel;

	private String tagId;


	private String resultType;


	private String resultTime;

	@Indexed(unique = true)
	private String bizRequestId;


	private String imei;



	private Date updateTime;


   private String user_agent;



	private String hash_android_id;


	private String extend;

	@Indexed(background = true)
	private String day;

	private String dayTime;

	private String imeiSum;

	private String  oaidSum;


	private String appkey;

	private String sid;

	private String unionSite;

	private String actId;

	/**
	 * 安卓或者ios
	 */
	private String os;

	private String idfa;
	private String idfaSum;
	private String caid;
	private String caidSum;
	private String aid;
}